package com.zq.it.pojo;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;   
	 private TClass tclass;
     private Long stuId;
     private String stuPassword;
     private String stuName;
     private String stuSex;
     private String stuIdc;
     private String contactWay;
     private String stuAddress;
     private String stuHead;
     private String extends_;
     



    // Constructors

    /** default constructor */
    public Student() {
    }

	/** minimal constructor */
    public Student(Long stuId, String stuPassword, String stuName, String stuSex, String stuIdc, String contactWay,String stuAddress){
        this.stuId = stuId;
        this.stuPassword = stuPassword;
        this.stuName = stuName;
        this.stuSex = stuSex;
        this.stuIdc = stuIdc;
        this.contactWay = contactWay;
        this.stuAddress=stuAddress;
    }
    public Student(Long stuId, String stuPassword, String stuName, String stuSex, String stuIdc, String contactWay,String stuAddress,TClass tclass){
        this.stuId = stuId;
        this.stuPassword = stuPassword;
        this.stuName = stuName;
        this.stuSex = stuSex;
        this.stuIdc = stuIdc;
        this.contactWay = contactWay;
        this.stuAddress=stuAddress;
        this.tclass=tclass;
    }
 

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Long getStuId() {
        return this.stuId;
    }
    
    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }

    public String getStuPassword() {
        return this.stuPassword;
    }
    
    public void setStuPassword(String stuPassword) {
        this.stuPassword = stuPassword;
    }

    public String getStuName() {
        return this.stuName;
    }
    
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuSex() {
        return this.stuSex;
    }
    public TClass getTclass() {
		return tclass;
	}

	public void setTclass(TClass tclass) {
		this.tclass = tclass;
	}

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuIdc() {
        return this.stuIdc;
    }
    
    public void setStuIdc(String stuIdc) {
        this.stuIdc = stuIdc;
    }

    public String getContactWay() {
        return this.contactWay;
    }
    
    public void setContactWay(String contactWay) {
        this.contactWay = contactWay;
    }

    public String getStuAddress() {
        return this.stuAddress;
    }
    
    public void setStuAddress(String stuAddress) {
        this.stuAddress = stuAddress;
    }

    public String getStuHead() {
        return this.stuHead;
    }
    
    public void setStuHead(String stuHead) {
        this.stuHead = stuHead;
    }

    public String getExtends_() {
        return this.extends_;
    }
    
    public void setExtends_(String extends_) {
        this.extends_ = extends_;
    }

}